package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.bo.InnerObjBo;
import com.ruoyi.system.domain.vo.InnerObjVo;
import com.ruoyi.system.mapper.SysTableObjMapper;
import com.ruoyi.system.service.ISysTableObjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author 最爱喝兽奶
 * @create 2022/7/12
 **/
@SuppressWarnings("ALL")
@Service
public class ISysTableObjServiceImpl implements ISysTableObjService {

    @Autowired
    private SysTableObjMapper sysTableObjMapper;

    @Override
    public List<InnerObjVo> getInnerObjs(InnerObjBo bo) {
        return sysTableObjMapper.queryInnerObjs(bo);
    }

    @Override
    public Page<Map<String, String>> executeSelectSqlSelectRefTableByName(Page page, String sql) {
        return sysTableObjMapper.executeSelectSqlSelectRefTableByName(page, sql);
    }
}
